
public class Cordinate {
	private static final float EPSILON = (float) 0.5;

	public Cordinate(float x, float y) {
		super();
		this.x = x;
		this.y = y;
	}
	float x;
	float y;
	
	public boolean equals(Object o) {
		
		if ( o instanceof Cordinate &&
				Math.abs( ((Cordinate) o).x - this.x ) < EPSILON &&
				Math.abs( ((Cordinate) o).y - this.y ) < EPSILON )
			return true;
		return false;
	}

}
